const mongoose = require('./01-2-mongoose使用流程');

const movieSchema = new mongoose.Schema({
    name:String,
    time:Number,
    score:Number,
    boxOffice:Number,
    type:String
})

const movieModel = mongoose.model('movies',movieSchema);

module.exports = movieModel;